<?php

namespace App\Models;

class Pages extends Base
{

    protected $table = 'pages';
    protected $fillable = [
        'id','title','content','created_at','updated_at','cateid'
    ];


    public function cate(){
        return $this->belongsTo('App\Models\Cates', 'cateid', 'id');
    }


}
